﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JXC.Core.Models
{
    /// <summary>
    /// 登录日志表
    /// </summary>
    public class LoginLog
    {
        [Key]
        public Guid Id { get; set; } //日志编号
        [ForeignKey("UserInfosId")]
        public Guid UserId { get; set; }//用户编号
        public string UserName { get; set; }//用户姓名
        public UserInfos UserInfos { get; set; }
        public DateTime LoginTime { get; set; }//登录时间

    }
}
